package com.supply.mapper;

import com.supply.pojo.SalesBill;
import com.supply.pojo.SalesBillExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SalesBillMapper {
    long countByExample(SalesBillExample example);

    int deleteByExample(SalesBillExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SalesBill record);

    int insertSelective(SalesBill record);

    List<SalesBill> selectByExample(SalesBillExample example);

    SalesBill selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SalesBill record, @Param("example") SalesBillExample example);

    int updateByExample(@Param("record") SalesBill record, @Param("example") SalesBillExample example);

    int updateByPrimaryKeySelective(SalesBill record);

    int updateByPrimaryKey(SalesBill record);
}